package com.dragon.modules.yuegou.excel.product;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.util.List;

@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\product\\exportProductShare.xlsx")
public class ExportProductShareWorkbook {
	@ExcelSheet
	@JsonProperty("推广商品")
	private List<ProductShareRow> productShare;

	public static class ProductShareRow {
		@JsonProperty("*商品编号")
		private String jdNo;

		@JsonProperty("*商品标题")
		private String title;
		
		@JsonProperty("*商品价格")
		private BigDecimal price;

		@JsonProperty("京东价(划线价)")
		private BigDecimal jdPrice;

		@JsonProperty("*图片链接")
		private String shareImg;

		@JsonProperty("*商品分类")
		private String codeName;

		public String getJdNo() {
			return jdNo;
		}

		public void setJdNo(String jdNo) {
			this.jdNo = jdNo;
		}

		public String getTitle() {
			return title;
		}

		public void setTitle(String title) {
			this.title = title;
		}

		public BigDecimal getPrice() {
			return price;
		}

		public void setPrice(BigDecimal price) {
			this.price = price;
		}

		public BigDecimal getJdPrice() {
			return jdPrice;
		}

		public void setJdPrice(BigDecimal jdPrice) {
			this.jdPrice = jdPrice;
		}

		public String getShareImg() {
			return shareImg;
		}

		public void setShareImg(String shareImg) {
			this.shareImg = shareImg;
		}

		public String getCodeName() {
			return codeName;
		}

		public void setCodeName(String codeName) {
			this.codeName = codeName;
		}
	}

	public List<ProductShareRow> getProductShare() {
		return productShare;
	}

	public void setProductShare(List<ProductShareRow> productShare) {
		this.productShare = productShare;
	}
}
